<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title><?php echo($site_title) ? $site_title : 'Administrator' ?></title>
        <meta name="description" content="<?php echo $site_description; ?>" />
        <meta name="keywords" content="<?php echo $site_keywords; ?>" />
        <?php if (isset($include)) { echo $include;}
        /* Add Javascript and CSS files */
        ?>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url; ?>admin/templates/stylesheet/stylesheet.css" />
        <script type="text/javascript" src="<?php echo base_url; ?>admin/templates/javascript/jquery/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="<?php echo base_url; ?>admin/templates/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
        <link type="text/css" href="<?php echo base_url; ?>admin/templates/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" rel="stylesheet" />
        <script type="text/javascript" src="<?php echo base_url; ?>admin/templates/javascript/jquery/tabs.js"></script>
        <script type="text/javascript" src="<?php echo base_url; ?>admin/templates/javascript/jquery/superfish/js/superfish.js"></script>
        <script type="text/javascript" src="<?php echo base_url; ?>admin/templates/javascript/common.js"></script>
       
    </head>
    <body>
        <div id="container">
            <?php
            include(S_ROOT . '/admin/templates/header.php');
            ?>
            <div id="content">
                <div class="box">                
                    <?php
                    if (!isset($content))
                        $content = basename($_SERVER['PHP_SELF']);
                    include ($content);
                    ?>
                    <div class="clear"></div>
                </div>                
            </div>
            <?php
            include (S_ROOT . '/admin/templates/footer.php');
            ?>

        </div>
        
    </body>
</html>
<?php exit; ?>
